
import os
from DataSheetClass import Sheet,DataSheet
class DataInterface:
    def __init__(self, datasheet:DataSheet):
        if datasheet.source_file_path:
            self.datasheet = datasheet
        else :
            raise ValueError(f"filepath not right : {datasheet.source_file_path}")
    
    def read_source(self):
        raise NotImplementedError("Class {self.__class__.__name__} must implement read_source method")

    def update_source(self):
        raise NotImplementedError("Class {self.__class__.__name__} must implement update_source method")
       